6.8
MEDIUM CVSS 2.0
CVE-2007-4727
Lighttpd mod_fastcgi Buffer Overflow
Description

Buffer overflow in the fcgi_env_add function in mod_proxy_backend_fastcgi.c in the mod_fastcgi extension in lighttpd before 1.4.18 allows remote attackers to overwrite arbitrary CGI variables and execute arbitrary code via an HTTP request with a long content length, as demonstrated by overwriting the SCRIPT_FILENAME variable, aka a "header overflow."

INFO

Published Date :

Sept. 12, 2007, 7:17 p.m.

Last Modified :

April 9, 2025, 12:30 a.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2007-4727 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Lighttpd lighttpd
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 2.0 MEDIUM [email protected]
Solution
The lighttpd installation is affected by a buffer overflow vulnerability.
  • Update the lighttpd package to version 1.4.18 or later.
  • Alternatively, disable the FastCGI module.
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2007-4727.

URL Resource
http://fedoranews.org/updates/FEDORA-2007-213.shtml
http://secunia.com/advisories/26732 Vendor Advisory
http://secunia.com/advisories/26794
http://secunia.com/advisories/26824
http://secunia.com/advisories/26997
http://secunia.com/advisories/27229
http://securityreason.com/securityalert/3127
http://secweb.se/en/advisories/lighttpd-fastcgi-remote-vulnerability/
http://trac.lighttpd.net/trac/changeset/1986
http://www.gentoo.org/security/en/glsa/glsa-200709-16.xml
http://www.lighttpd.net/assets/2007/9/9/lighttpd_sa_2007_12.txt
http://www.novell.com/linux/security/advisories/2007_20_sr.html
http://www.securityfocus.com/archive/1/479763/100/0/threaded
http://www.securityfocus.com/bid/25622
http://www.vupen.com/english/advisories/2007/3110
https://bugzilla.redhat.com/show_bug.cgi?id=284511
https://exchange.xforce.ibmcloud.com/vulnerabilities/36526
https://issues.rpath.com/browse/RPL-1715
http://fedoranews.org/updates/FEDORA-2007-213.shtml
http://secunia.com/advisories/26732 Vendor Advisory
http://secunia.com/advisories/26794
http://secunia.com/advisories/26824
http://secunia.com/advisories/26997
http://secunia.com/advisories/27229
http://securityreason.com/securityalert/3127
http://secweb.se/en/advisories/lighttpd-fastcgi-remote-vulnerability/
http://trac.lighttpd.net/trac/changeset/1986
http://www.gentoo.org/security/en/glsa/glsa-200709-16.xml
http://www.lighttpd.net/assets/2007/9/9/lighttpd_sa_2007_12.txt
http://www.novell.com/linux/security/advisories/2007_20_sr.html
http://www.securityfocus.com/archive/1/479763/100/0/threaded
http://www.securityfocus.com/bid/25622
http://www.vupen.com/english/advisories/2007/3110
https://bugzilla.redhat.com/show_bug.cgi?id=284511
https://exchange.xforce.ibmcloud.com/vulnerabilities/36526
https://issues.rpath.com/browse/RPL-1715
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2007-4727 is associated with the following CWEs:

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2007-4727 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2007-4727 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference http://fedoranews.org/updates/FEDORA-2007-213.shtml
    Added Reference http://secunia.com/advisories/26732
    Added Reference http://secunia.com/advisories/26794
    Added Reference http://secunia.com/advisories/26824
    Added Reference http://secunia.com/advisories/26997
    Added Reference http://secunia.com/advisories/27229
    Added Reference http://securityreason.com/securityalert/3127
    Added Reference http://secweb.se/en/advisories/lighttpd-fastcgi-remote-vulnerability/
    Added Reference http://trac.lighttpd.net/trac/changeset/1986
    Added Reference http://www.gentoo.org/security/en/glsa/glsa-200709-16.xml
    Added Reference http://www.lighttpd.net/assets/2007/9/9/lighttpd_sa_2007_12.txt
    Added Reference http://www.novell.com/linux/security/advisories/2007_20_sr.html
    Added Reference http://www.securityfocus.com/archive/1/479763/100/0/threaded
    Added Reference http://www.securityfocus.com/bid/25622
    Added Reference http://www.vupen.com/english/advisories/2007/3110
    Added Reference https://bugzilla.redhat.com/show_bug.cgi?id=284511
    Added Reference https://exchange.xforce.ibmcloud.com/vulnerabilities/36526
    Added Reference https://issues.rpath.com/browse/RPL-1715
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Oct. 15, 2018

    Action Type Old Value New Value
    Removed Reference http://www.securityfocus.com/archive/1/archive/1/479763/100/0/threaded [No Types Assigned]
    Added Reference http://www.securityfocus.com/archive/1/479763/100/0/threaded [No Types Assigned]
  • CVE Modified by [email protected]

    Jul. 29, 2017

    Action Type Old Value New Value
    Removed Reference http://xforce.iss.net/xforce/xfdb/36526 [No Types Assigned]
    Added Reference https://exchange.xforce.ibmcloud.com/vulnerabilities/36526 [No Types Assigned]
  • Initial Analysis by [email protected]

    Sep. 13, 2007

    Action Type Old Value New Value
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 6.8
Access Vector
Access Complexity
Authentication
Confidentiality Impact
Integrity Impact
Availability Impact
Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

12.55 }} -8.50%

score

0.93660

percentile